<template>
  <view class="container">
    <!-- 文章列表 -->
    <view class="article-list">
      <article-item
          v-for="(item) in dataSource"
          :key="item.indexCode"
          :row="item"
      />
      <van-empty v-if="!dataSource.length" description="暂无数据"/>
    </view>
  </view>
</template>

<script>
import articleItem from "./components/articleItem.vue";
import disputeCard from "./components/disputeCard.vue";
import pagingMixin from "../../mixins/pagingMixin";
export default {
  name: 'wx_pages_fzbz_qmfzTable',
  components:{disputeCard, articleItem},
  mixins:[pagingMixin],
  data() {
    return {
      articles: [],
      restfulApi:'/tbLawPropaganda/page',
    }
  },
  onPullDownRefresh() {
    this.search({lawType:'2'})
  },
  onLoad() {
    this.search({lawType:'2'})
  }
}
</script>

<style>
.container {
  min-height: 100vh;
  background-color: #ffffff;
  padding: 20rpx;
}
</style>
